package model

type BookMenu struct {
	Id        int    `json:"id" gorm:"primary_key;autoIncrement:true"`
	ClassName string `json:"className" gorm:"column:class_name;comment:;type:varchar(128);size:128;"`
	GroupName string `json:"groupName" gorm:"column:group_name;comment:课本名称/分组名称;type:varchar(128);size:128;"`
	Sort      int    `json:"sort" gorm:"column:sort;comment:排序;type:int(4);size:4;"` //
	BookImg   string `json:"bookImg" gorm:"column:book_img;comment:封面图片;type:varchar(256);size:256"`
}

func (BookMenu) TableName() string {
	return "book_menu"
}
